<template>
  <div>
    Mine
    <hr />
    <!-- <router-link to="mine/parent">Parent</router-link> -->
    <!-- <router-link to="/">Home</router-link> -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  mounted() {
    // console.log(this.$route.params.id);
    // console.log(this.$route);
  },
  // beforeRouteEnter(to, from, next) {//进入路由
  //   console.log(to);
  //   console.log(from);
  //   console.log(next);
  // },
  // beforeRouteUpdate(to, from, next) {//路由发生改变
  //   console.log(to);
  //   console.log(from);
  //   console.log(next);
  // },
  // beforeRouteLeave(to, from, next) {//离开
  //   console.log(to);
  //   console.log(from);
  //   console.log(next);
  // }
};
</script>

<style scoped>
</style>